From: Matthieu Gallien Date: Mon, 17 Feb 2025 09:51:03 +0000 (+0100) Subject: using multi-arg is better than many arg calls in QString class X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~2^2~44^2~7 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=a61dde026cb5e3ab5ae06f3af9ccebd247756546;p=nextcloud-desktop.git using multi-arg is better than many arg calls in QString class Signed-off-by: Matthieu Gallien Signed-off-by: Jyrki Gadinger --- diff --git a/src/gui/owncloudsetupwizard.cpp b/src/gui/owncloudsetupwizard.cpp index 6b36e0fe7..ae11ff72a 100644 --- a/src/gui/owncloudsetupwizard.cpp +++ b/src/gui/owncloudsetupwizard.cpp @@ -358,8 +358,7 @@ void OwncloudSetupWizard::slotConnectToOCUrl(const QString &url) _ocWizard->setField(QLatin1String("OCUrl"), url); _ocWizard->appendToConfigurationLog(tr("Trying to connect to %1 at %2 …") - .arg(Theme::instance()->appNameGUI()) - .arg(url)); + .arg(Theme::instance()->appNameGUI(), url)); testOwnCloudConnect(); });